package com.rd.student.jiaji.class3.zhangshixuan;

import java.util.Arrays;

public class Demo02 {
    public static void main(String[] args) {
        int[]a=new int[]{1,3,5,7,9};
        int[] b= Arrays.copyOf(a,10);
//        System.out.println(Arrays.toString(b));
        Arrays.fill(b,5,6,10);
        Arrays.fill(b,6,7,11);
        Arrays.fill(b,7,8,13);
        Arrays.fill(b,8,9,15);
        Arrays.fill(b,9,10,17);
        System.out.println(Arrays.toString(b));
    }
}
